package com.xinruke.hostels.system.manage.interfaces.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author jinzhi
 */
@ApiModel("楼层修改DTO")
@Data
public class FloorUpdateQueryDTO {

    @ApiModelProperty(value = "楼层id", required = true)
    @NotNull(message = "楼层id不能为空")
    private Integer id;

    /**
     * 楼层
     */
    @ApiModelProperty(value = "楼层名称", required = true)
    @NotNull(message = "楼层名称不能为空")
    private String mingcheng;

    /**
     * 锁号
     */
    @ApiModelProperty(value = "锁号")
    private String suohao;

    /**
     * 描述
     */
    @ApiModelProperty(value = "描述", required = true)
    @NotNull(message = "描述不能为空")
    private String miaoshu;

    /**
     * 缩略图
     */
    @ApiModelProperty(value = "缩略图")
    private String suoluetu;

    /**
     * 楼栋ID
     */
    @ApiModelProperty(value = "楼栋ID", required = true)
    private Integer loudongId;
}
